<%@ include file="../includes/common.jsp"%>
<%@page import="application.RestoService"%>
<%
	id_food = request.getParameter("id_food");
	id_category = request.getParameter("id_category");
	name_food = request.getParameter("name_food");
	description_food = request.getParameter("description_food");
	country_food = request.getParameter("country_food");
	image_food = request.getParameter("image_food");
	price = request.getParameter("price");
	RestoService resto = new RestoService();
	resto.updateFood(id_food, id_category, name_food, description_food,
			country_food, image_food, price);
	out.print(id_food + " " + name_food);
	response.sendRedirect("food_view.jsp");
%>
